package com.colin.app.fragment.demo;

import com.colin.app.activity.coordinator.CoordinatorTabLayoutActivity;
import com.colin.app.app.AppActivity;
import com.colin.app.app.BasePresenterImpl;

/**
 * Created by Colin on 2017/1/15.
 */

public class DemoPresenterImpl extends BasePresenterImpl implements DemoContract.DemoPresenter {

    private DemoContract.DemoView mDemoView;
    private DemoContract.DemoModel mDemoModel;

    public DemoPresenterImpl(AppActivity mAppActivity, DemoContract.DemoView mDemoView) {
        super(mAppActivity, mDemoView);
        this.mDemoView = mDemoView;
        this.mDemoModel = new DemoModelImpl();


    }

    @Override
    public void toCoordinatorTabLayoutActivity() {
        mDemoView.startActivity(CoordinatorTabLayoutActivity.class,null,false);
    }
}
